package jonggyuni.basic;

import java.util.Scanner;

public class J08_Num63 {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		System.out.print("10개의 숫자를 입력하세요 : ");
		
		int num[] = new int[10];
		
		for(int i=0; i<10; i++){
			num[i] = sc.nextInt();
		}
		
		System.out.println("입력한 숫자는 다음과 같습니다.");
		
		int j=9;
		for(int i=0; i<5; i++){
			System.out.println(num[i]+" " +num[j]);
			j = j-1;
		}
		sc.close();
	}

}
